#ifndef STATUSWIDGET_H
#define STATUSWIDGET_H

#include <QWidget>
#define ADDRECVCOUNT 1
#define ADDSENDCOUNT 0
namespace Ui {
    class StatusWidget;
}

class StatusWidget : public QWidget {
    Q_OBJECT
public:
    StatusWidget(QWidget *parent = 0);
    ~StatusWidget();


protected:
    void changeEvent(QEvent *e);

private:
    Ui::StatusWidget *ui;
    unsigned long recvCount;
    unsigned long sendCount;
private slots:
    void slotPushButton();
public slots:
    void slotMessage(QString str);
    void slotAddCount(int size,int flag);
};

#endif // STATUSWIDGET_H
